Skip to content

dd: fix various i64 max errors#12965

Open
zhw2101024 wants to merge 2 commits into
uutils:mainfrom
zhw2101024:fix_various_i64_max_errors
Open

dd: fix various i64 max errors#12965
zhw2101024 wants to merge 2 commits into
uutils:mainfrom
zhw2101024:fix_various_i64_max_errors

Conversation

@zhw2101024

Copy link
Copy Markdown
Contributor

Fixes #12964
There's some cases on the i64 boundary where uutils dd cannot handle correctly.

@cakebaker cakebaker changed the title Fix various i64 max errors dd: fix various i64 max errors Jun 18, 2026
@zhw2101024

Copy link
Copy Markdown
Contributor Author

Forgot to test on windows, will try again later.

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

GNU test failed: tests/dd/misc. tests/dd/misc is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/tail/tail-n0f (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/tail/retry (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/symlink (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/rm/many-dir-entries-vs-OOM is now passing!

@zhw2101024 zhw2101024 force-pushed the fix_various_i64_max_errors branch from c3fd4b4 to f4cd13c Compare June 19, 2026 06:04
@codspeed-hq

codspeed-hq Bot commented Jun 19, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 3.03%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 322 untouched benchmarks
⏩ 46 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation du_max_depth_balanced_tree[(6, 4, 10)] 26 ms 25.2 ms +3.03%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing zhw2101024:fix_various_i64_max_errors (f5d0f15) with main (d01be5b)

Open in CodSpeed

Footnotes

  1. 46 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@zhw2101024 zhw2101024 force-pushed the fix_various_i64_max_errors branch 3 times, most recently from 9987869 to 1762afa Compare June 19, 2026 18:58
@zhw2101024 zhw2101024 force-pushed the fix_various_i64_max_errors branch from 1762afa to f5d0f15 Compare June 19, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dd: various issues related to the i64::MAX boundary

1 participant